package com.joysuch.wwyt.mh.service;


import com.joysuch.wwyt.core.common.ajax.ResultBean;
import com.joysuch.wwyt.mh.bean.MhHazardChemProductBean;
import com.joysuch.wwyt.mh.bean.MhHazardChemicalProductSearchBean;
import com.joysuch.wwyt.mh.bean.MhMajorHazardChemProductBean;
import org.springframework.data.domain.Pageable;

public interface MhHazardChemicalProductService {

    ResultBean findAll(Pageable pageable, MhHazardChemicalProductSearchBean searchBean);

    void add(MhHazardChemProductBean mhHazardChemProductBean);
    void edit(MhHazardChemProductBean mhHazardChemProductBean);

    void delete(Long id);

    MhMajorHazardChemProductBean findById(Long id);
}
